GXGetShapeTransfer
You can use theGXGetShapeTransfer
function to examine the transfer mode of the ink object associated with a shape.
gxTransferMode *GXGetShapeTransfer(gxShape source, gxTransferMode *data);
- source
- A reference to the shape whose ink object you want the transfer mode of.
data
- A pointer to a transfer mode structure. On return, the structure contains the transfer mode of the shape's ink object.
- function result
- The transfer mode of the ink object associated with the source shape object.
DESCRIPTION
TheGXGetShapeTransfer
function returns, as its function result and in the structure pointed to by thedata
parameter, the transfer mode of the ink object associated with the shape referenced in thesource
parameter.If the shape object reference or the pointer to the transfer mode structure is
nil
, an error is posted, andnil
is returned as the function result.This function is equivalent to
theMode = GXGetInkTransfer(GXGetShapeInk(myShape),theMode);ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory shape_is_nil transferMode_is_nil SEE ALSO
Transfer modes are described in the sections "About Transfer Modes" beginning on page 5-11, and "Working With Transfer Modes" beginning on page 5-44.To assign a transfer mode to the ink object associated with a shape, use the
GXSetShapeTransfer
function, described next.To examine the transfer mode of an ink object directly, use the
GXGetInkTransfer
function, described on page 5-72.The
GXGetShapeInk
function is described in the chapter "Shape Objects" in this book.